home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / util / cinstp15.zip / WINSTALL.INF < prev    next >
Text File  |  1995-01-18  |  11KB  |  256 lines

  1. REM --------------------------------------------
  2. REM --------------------------------------------
  3. REM WINSTALL.INF file for Chief's Installer Pro
  4. REM Tries to use most of the reserved words
  5. REM --------------------------------------------
  6.  
  7. [The title of your application]
  8. $TITLE=Chief's Installer Pro
  9.  
  10. [Default target directory :  can take extra parameter in this format]
  11. [$TARGET=Default;INI-File-name;Section;KeyName]
  12. $TARGET=C:\CHIEFPRO;CHIEFPRO.INI;ChiefPro;ChiefProDIR
  13.  
  14. [Files to be copied; "$disk 1 =" to "$disk 45 ="; you can use wildcards]
  15. [file specs should be separated with a semi-colon]
  16. $disk1=install.exe;setup.exe;uninstall.exe;autocalc.exe;showlog.exe
  17. $DISK1=*.DLL;*.TXT;*.HLP;*.FAQ;uninst.zip;winstall.zip;*.INF;*.WRI;*.ICO;*.FRM
  18.  
  19. [Disk space needed for the installation - in bytes]
  20. [you can calculate this by running AUTOCALC.EXE on your completed INF file]
  21. $SPACE=0
  22.  
  23. [Any temporary extra disk space needed while installing - in bytes]
  24. $SWAP-SPACE=0
  25.  
  26. [Files to be installed to Windows directory]
  27. [Max=10 lines; 30 file names on each line, separated with semi-colon; no wildcards]
  28. $WINDIR=
  29.  
  30. [Files to be installed to Windows SYSTEM directory]
  31. [Max=10 lines; 30 file names on each line, separated with semi-colon; no wildcards]
  32. $SYSDIR=
  33.  
  34. [space required by files going to the Windows directory]
  35. [you can calculate this by running AUTOCALC.EXE on your completed INF file]
  36. $WINDIR-SPACE=0
  37.  
  38. [space required by files going to the Windows SYSTEM directory]
  39. [you can calculate this by running AUTOCALC.EXE on your completed INF file]
  40. $SYSDIR-SPACE=0
  41.  
  42. [uncomment this line to turn on disk verification]
  43. ;$VERIFY-INSTALL-DISKS
  44.  
  45. [Files to be installed to subdirectories under DEST directory tree]
  46. [Max=45 lines; 30 file names on each line, separated with semi-colon; no wildcards]
  47. $DEST\BIN=INSTALL.EXE;WINSTALL.INF;CHIEF.HLP;CTL3DV2.DLL;CHIEF.WRI;WINSTALP.DLL;UNINSTAL.EXE;blank.ico;winstall.txt;
  48. $DEST\SAMPLES=WINSTALL.HLP;SAMPLE1.INF;SAMPLE2.INF;SAMPLE3.INF;SAMPLE4.INF;TEMPLATE.INF
  49. $DEST\OPTION=SETUP.EXE;SETUPINF.INF;WINSTALL.ZIP;UNINST.ZIP
  50. $DEST\UTILS=AUTOCALC.EXE;AUTOCALC.TXT;SHOWLOG.EXE;SHOWLOG.TXT
  51.  
  52. [Files to be installed to TEMP directory]
  53. [Max=1 line; 30 file names on each line, separated with semi-colon; no wildcards]
  54. $TEMPDIR=
  55.  
  56. [Files to be replaced without warning if older versions already exist]
  57. [Max=20 lines; 30 file names on each line, separated with semi-colon; no wildcards]
  58. $AUTO-REPLACE=
  59.  
  60. [Entries in INI files = Filename;Section;Keyname;String]
  61. [Max=20 lines; Details as 4 sections on each line, separated with semi-colon]
  62. $INI=$DEST\INSTALL.INI;Test;Chief;a Great African Chief and a Great Welshman
  63. $INI=$DEST\INSTALL.INI;Test;African-Chief;a Great Warrior and Hunter
  64. $INI=$DEST\INSTALL.INI;Test;Great-Chief;The Great Elephant
  65. $INI=$DEST\INSTALL.INI;Test;Isn't;this all very funny?
  66.  
  67. $INI=$WINDIR\CHIEFPRO.INI;ChiefPro;ChiefProDir;$DEST
  68. $INI=$DEST\INSTALL.INI;INSTALL;SourceDirectory;$SOURCEDIR
  69. $INI=$DEST\INSTALL.INI;INSTALL;ProgramDirectory;$DEST
  70.  
  71. [Default Program Manager group name; you can force it to be created by
  72. [using the AUTO parameter, or disable it by using the DISABLE parameter]
  73. $GROUP=Chief's Installer Pro
  74.  
  75. [program(s) to create Program Manager icons for; MAX=45 icons in all]
  76. [format= CommandLine;Icon Title;Group Name]
  77. [Group Name is optional - if none, the one in $GROUP will be used]
  78.  
  79. $ICON=$DEST\SAMPLES\WINSTALL.HLP;Sample Install Help File;Chief's Sample Files
  80. $ICON=NOTEPAD.EXE $DEST\SAMPLES\SAMPLE1.INF;Sample INF File1;Chief's Sample Files
  81. $ICON=NOTEPAD.EXE $DEST\SAMPLES\SAMPLE2.INF;Sample INF File2;Chief's Sample Files
  82. $ICON=NOTEPAD.EXE $DEST\SAMPLES\SAMPLE3.INF;Sample INF File3;Chief's Sample Files
  83. $ICON=NOTEPAD.EXE $DEST\SAMPLES\SAMPLE4.INF;Sample INF File4;Chief's Sample Files
  84. $ICON=NOTEPAD.EXE $DEST\SAMPLES\TEMPLATE.INF;Template for INF Files;Chief's Sample Files
  85.  
  86. $ICON=$DEST\UTILS\AUTOCALC.EXE;Chief's AutoCalc;Chief's Utils
  87. $ICON=$DEST\UTILS\AUTOCALC.TXT;AutoCalc Documentation;Chief's Utils
  88. $ICON=$DEST\UTILS\SHOWLOG.EXE;Chief's ShowLOG;Chief's Utils
  89. $ICON=$DEST\UTILS\SHOWLOG.TXT;ShowLOG Documentation;Chief's Utils
  90.  
  91. $ICON=$DEST\BIN\INSTALL.EXE;Chief's Installer Pro
  92. $ICON=$DEST\OPTION\SETUP.EXE;Optional loader for Installer
  93. $ICON=NOTEPAD.EXE $DEST\OPTION\SETUPINF.INF;SETUP's sample string table
  94.  
  95. $ICON=$DEST\BIN\UNINSTAL.EXE $DEST;Chief's Windows Uninstaller
  96. $ICON=$DEST\BIN\CHIEF.HLP;Chief's Installer Pro Help;$GROUP;$DEST\BIN\BLANK.ICO
  97. $ICON=$DEST\BIN\CHIEF.WRI;Documentation
  98.  
  99. $ICON=$DEST\README.TXT;Readme File
  100. $ICON=NOTEPAD.EXE $DEST\BIN\WINSTALL.INF;Chief's INF file
  101. $ICON=$DEST\HISTORY.TXT;History File
  102. $ICON=NOTEPAD.EXE $DEST\CHIEF.FAQ;Frequently Asked Questions
  103.  
  104. $ICON=$DEST\REGISTER.TXT;Registration Information
  105. $ICON=NOTEPAD.EXE $DEST\ORDER.FRM;Order form
  106.  
  107.  
  108. [********************************************************]
  109. [*** NOTE: EVERYTHING FROM HERE IS TOTALLY OPTIONAL *****]
  110. [********************************************************]
  111.  
  112. [Program(s) to execute as part of the installation; separated with a semi-colon]
  113. [install will *try* to wait for them to terminate before continuing]
  114. $PRE-EXEC=
  115.  
  116. [Files to delete after completing installation]
  117. [up to 20 file specifications, each on a separate line]
  118. [here, we're cleaning up our INSTALL files from the TEMP directory]
  119. $CLEANUP=$TEMPDIR\INSTALL.EXE
  120. $CLEANUP=$TEMPDIR\WINSTAL*.*
  121.  
  122. [Program(s) to execute after completing installation; separated with a semi-colon]
  123. $EXEC=
  124.  
  125. [uncomment this line for a maximized main window - and no "banner"!]
  126. ;$WINDOW=MAXIMIZE
  127.  
  128. [comment this to use an 8kb buffer for copying the files]
  129. $COPYBUFFER=32000
  130.  
  131. [uncomment this to use a WHITE background color for the dialog window]
  132. [valid values are 0 to 4]
  133. ;$WINDOW-BACKGROUND=0
  134.  
  135. [uncomment this to use a WHITE background for the dialog text]
  136. [3 RGB values, or 1 long integer value
  137. ;$TEXT-BACKGROUND=255,255,255
  138.  
  139. [comment this to NOT paint the background of the "percent" dialog]
  140. $PAINTDIALOGS
  141.  
  142. [uncomment this line to automatically set the check box for PROGMAN group]
  143. $SETCHECKBOX
  144.  
  145. [comment this line to enable the final "installation completed" dialog]
  146. $NO-END-DIALOG
  147.  
  148. [uncomment this line to disable the dialog that offers to add the target]
  149. [directory to the PATH statement in AUTOEXEC.BAT]
  150. $NO-PATH-DIALOG
  151.  
  152. [comment this line to disable the small "percent" meter for individual files]
  153. $SHOW-FILE-PERCENT
  154.  
  155. [comment this line to disable logging for the UNINSTALLER in UNINSTAL.LOG]
  156. $MAKE-UNINSTALL-LOG
  157.  
  158.  
  159. [comment these lines to remove user selectable install options]
  160. [max= 10 options; format = title;disk space needed (in bytes)]
  161. [the figures are added to the $SPACE line above]
  162. [you can calculate these by running AUTOCALC.EXE on your completed INF file]
  163.  
  164. $USER-OPTION1=Program Files;301854
  165. $USER-OPTION2=Documentation;224351
  166. $USER-OPTION3=Chief's Sample Files;24515
  167. $USER-OPTION4=Optional Files;43379
  168. $USER-OPTION5=Chief's Utils;56349
  169.  
  170. [these lines are the files that make up each user selectable option]
  171. [each option can use up to 10 lines to list its files, and each line
  172. [can list up to 30 files; max = 200 characters per line]
  173.  
  174. $OPTIONAL1=INSTALL.EXE;UNINSTAL.EXE;CTL3DV2.DLL;winstall.txt
  175. $OPTIONAL1=WINSTALL.INF;blank.ico;WINSTALP.DLL;REGISTER.TXT;ORDER.FRM
  176.  
  177. $OPTIONAL2=CHIEF.WRI;CHIEF.HLP;README.TXT;HISTORY.TXT;CHIEF.FAQ
  178. $OPTIONAL3=WINSTALL.HLP;SAMPLE1.INF;SAMPLE2.INF;SAMPLE3.INF;SAMPLE4.INF;TEMPLATE.INF
  179. $OPTIONAL4=SETUP.EXE;winstall.zip;uninst.zip;SETUPINF.INF
  180. $OPTIONAL5=AUTOCALC.EXE;AUTOCALC.TXT;SHOWLOG.EXE;SHOWLOG.TXT
  181.  
  182.  
  183. [these lines are for the "BANNER" window]
  184. [the font to use; I am using True Type Times New Roman]
  185. $BANNER-FONT=TIMES NEW ROMAN
  186.  
  187. [make sure this is small enough for those using 640x480 displays]
  188. $BANNER-FONT-SIZE=32
  189.  
  190. [message must be short enough to fit on the screen]
  191. $BANNER-MESSAGE=Chief's Installer Pro for Windows
  192.  
  193. $BANNER-TEXT-COLOR=$00FFFF00
  194. $BANNER-TEXT-BACKGROUND=20,0,0
  195. $BANNER-WINDOW-BRUSH=255,0,0
  196.  
  197. [uncomment this to give a blue shadow to the banner text: but it will disable]
  198. [the $banner-text-background; it also will not work if there is a bitmap]
  199. ;$BANNER-SHADOW-COLOR=0,0,255
  200.  
  201. [I am not using any bitmap! so I use a non-existent file name]
  202. $BITMAP=nobitmap
  203.  
  204.  
  205. [************************************************************]
  206. [ *** these lines are for version checks on shared files ****]
  207. [************************************************************]
  208.  
  209. [uncomment this line to enable version checking on non-shared DLLs]
  210. ;$CHECK-MY-DLL-VERSIONS
  211.  
  212. [this line stipulates the headings of the file version numbers]
  213. $VERSION-INFO-TITLE=File Version
  214.  
  215. [your explanation or recommendation when a copy of a shared file]
  216. [already exists]
  217. $VERSION-INFO-MESSAGE=You SHOULD click on "NO" if the target file \n is NEWER than the source file.
  218.  
  219. [your message when we can't successfully install a shared file]
  220. $VERSION-COPY-ERROR-MESSAGE=Please copy it later (after closing Windows) \n.A temporary copy of the file exists as
  221.  
  222. [uncomment this line to force older files to be overwritten without warning]
  223. ;$FORCE-OVERWRITE-OLDER-FILES
  224.  
  225. [ ************************** other commands *************************]
  226.  
  227. [the caption on the "Readme" push button 
  228. $README-BUTTON-TEXT=&History ....
  229.  
  230. [comment this line to use a proportional typeface for the readme dialog]
  231. $README-FONT=FIXED
  232.  
  233. [uncomment and use this line to send a mouse click to any of]
  234. [the four push buttons; 1=Start Install; 2=Abort; 3=Help; 4=Readme]
  235. ;$AUTO-CLICK-BUTTON=4
  236.  
  237. [uncomment this line to disable CTL3DV2.DLL]
  238. ;$NO-CTL3D.DLL
  239.  
  240. [this message is presented if an active DLL was replaced/installed]
  241. $RESTARTWIN-MESSAGE=At least one active DLL was replaced.\nSo you need to close all programs and \nRESTART Windows (right now!).\n\nShould I restart Windows now?
  242.  
  243.  
  244. [examples of entries for the Registration Database (they are all commented!)]
  245. [you can have up to 20 such lines]
  246. ;$REG-DATA=ChiefPro=Chief's Installer Pro
  247. ;$REG-DATA=.inf=ChiefPro
  248. ;$REG-DATA=ChiefPro\shell\open\command =$dest\install.exe %1
  249. ;$REG-DATA=ChiefPro\shell\print\command= $dest\install.exe /p %1
  250. ;$REG-DATA=ChiefPro\protocol\StdFileEditing\verb\0 =   Edit
  251. ;$REG-DATA=ChiefPro\protocol\StdFileEditing\server   = $dest\install.exe
  252.  
  253. [uncomment and put any final message to be displayed to the user]
  254. $FINAL-MESSAGE=Please read the HISTORY file, and\nthe Frequently Asked Questions!
  255.  
  256.